package com.party.core.service.crowdfund;

import com.party.common.paging.Page;
import com.party.core.model.audit.TransferAuditOutput;
import com.party.core.model.crowdfund.SupportTransfer;
import com.party.core.model.crowdfund.SupportTransferMaintenance;
import com.party.core.service.IBaseService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 众筹支持转移服务接口
 * Created by huangwuming
 * on 2018/5/7/007.
 */
public interface ISupportTransferService extends IBaseService<SupportTransfer> {
    SupportTransfer getBySourceId(String  sourceId);

    void deleteBySourceId(String sourceId);

    void deleteByTargetId(String targetId);
    Integer getShiftToPeopleTotal(String  targetId);

    List<TransferAuditOutput> getZcTransferAuditList(String themeName, String partnerId, Page page);

    Integer getACTShiftToPeopleTotal(String  eventId, int sign);

    List<SupportTransferMaintenance> getSupporterTransfer(Integer group);

    List<SupportTransfer> getByTargetProId(String projectId);
}
